﻿using Max.PH4.Shoppgin.Admin.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH4.Shoppgin.Admin.IRespository
{
    public interface ICategoryRespository
    {
        int Insert(CategoryEntity entity);
        int Update(CategoryEntity entity);

        int Delete(CategoryEntity entity);

        int Delete(object id);
        IQueryable<CategoryEntity> Query();
    }
}
